package com.cyandpos.pad.posdata;

/**
 * Created by derek on 2017/5/10.
 */

public class QueryMemberRequest {
    private int condType;//类型 0 磁道内容 1 手机号
    private String condValue;//内容值
    private String verifyCode;// 验证码
    private String password;//密码
    private String codedCouponCode;//编码券号 通过券号查询编码券时必传
    private int codedCouponType;//查询类型 0券号获取编码券 1.刷卡获取编码券
    private int serverBillId;//Crm交易号 消费查券时必传
    private String cardCodeToCheck;//卡验证
    private String sktno;//款台号

    public int getCondType() {
        return condType;
    }

    public void setCondType(int condType) {
        this.condType = condType;
    }

    public String getCondValue() {
        return condValue;
    }

    public void setCondValue(String condValue) {
        this.condValue = condValue;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getCodedCouponCode() {
        return codedCouponCode;
    }

    public void setCodedCouponCode(String codedCouponCode) {
        this.codedCouponCode = codedCouponCode;
    }

    public int getCodedCouponType() {
        return codedCouponType;
    }

    public void setCodedCouponType(int codedCouponType) {
        this.codedCouponType = codedCouponType;
    }

    public int getServerBillId() {
        return serverBillId;
    }

    public void setServerBillId(int serverBillId) {
        this.serverBillId = serverBillId;
    }

    public String getCardCodeToCheck() {
        return cardCodeToCheck;
    }

    public void setCardCodeToCheck(String cardCodeToCheck) {
        this.cardCodeToCheck = cardCodeToCheck;
    }

    public String getSktno() {
        return sktno;
    }

    public void setSktno(String sktno) {
        this.sktno = sktno;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"condType\":")
                .append(condType);
        sb.append(",\"condValue\":\"")
                .append(condValue).append('\"');
        sb.append(",\"verifyCode\":\"")
                .append(verifyCode).append('\"');
        sb.append(",\"password\":\"")
                .append(password).append('\"');
        sb.append(",\"codedCouponCode\":\"")
                .append(codedCouponCode).append('\"');
        sb.append(",\"codedCouponType\":")
                .append(codedCouponType);
        sb.append(",\"serverBillId\":")
                .append(serverBillId);
        sb.append(",\"cardCodeToCheck\":\"")
                .append(cardCodeToCheck).append('\"');
        sb.append(",\"sktno\":\"")
                .append(sktno).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
